package cn.com.fy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * 暂时没配置成功
 * */
@Controller
@RequestMapping("th")
public class ThymeleafController {

	@RequestMapping("/index")
	public String index(ModelMap map) {
		map.addAttribute("name", "thymeleafName");
		return "thymeleaf/index";
	}
	@RequestMapping("center")
	public String center() {
		return "thymeleaf/center/center";
	}
	
}
